package com.pan.demo.conf;

import com.pan.demo.utils.DemoDataTool;
import com.pan.demo.utils.SimpleJson;
import com.pan.framework.anno.conf.MyBean;
import com.pan.framework.anno.conf.MyConfig;

@MyConfig
public class DemoConfigure {


    @MyBean(name = "dataTool")
    public DemoDataTool setDataBean(){
        return new DemoDataTool();
    }

    @MyBean(name = "simpleJson")
    public SimpleJson setSimpleJson(){
        return new SimpleJson();
    }
}
